// 角色相关的数据模型
const mongoose = require("mongoose");
const baseModel = require("./base");
// 创建数据模型
const userSchema = new mongoose.Schema({
  ...baseModel,
  jobId: { // 职位id
    type: String,
    required: true,
  },
  userId: { // 用户id
    type: String,
    required: true,
  },
  content: { // 举报内容
    type: String,
    required: true,
  },
  status: { // 是否已处理
    type: String,
  }
});

module.exports = userSchema;
